/*
 * @Author: mayijun
 * @Date: 2022-08-09 18:36:51
 * @LastEditors: mayijun
 * @LastEditTime: 2022-08-09 18:36:59
 */
// 指标开发
import { RouteRecordRaw } from 'vue-router';
import * as RouteNames from '../consts';

const routes: RouteRecordRaw[] = [
    {
        path: '/system-manage',
        component: () => import('@/layout/base-layout.vue'),
        redirect: '/system-manage/settings',
        meta: {title: '系统管理'},
        children: [
            {
                path: 'settings',
                name: RouteNames.ROUTER_SYSTEM_MANAGE,
                component: () => import('@/views/approvalCenter/approvalFlowSet/index.vue'),
                meta: { title: '审批流设置' }
            },
            {
                path: 'created',
                name: RouteNames.ROUTER_CREATED_FLOW,
                component: () => import('@/views/approvalCenter/approvalFlowSet/createdApprovalFlow/index.vue'),
                meta: { title: '新建审批流' }
            },
        ]
    }
]


export default routes;